<!DOCTYPE html>
<html lang="en">
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>2345网咖 - 管理员界面</title>
    <style>
        body {
            background-image: url('https://img.zcool.cn/community/0116bb5d4bcb2ca80120695cdaa257.jpg@1280w_1l_2o_100sh.jpg');
            background-size: cover;
            background-repeat: no-repeat;
            font-family: Arial, sans-serif;
        }

        .container {
            text-align: center;
            margin: 50px auto;
            padding: 20px;
            border: 1px solid #646262;
            max-width: 600px;
            background: rgba(178, 182, 178, 0.8);
        }

        h1 {
            color: white;
        }

        button {
            margin-top: 10px;
            width: 100%;
            padding: 5px;
        }

        .logout-button-container {
            margin-top: 20px;
        }
    </style>
</head>

<body>
<div class="container">
    <h1>2345网咖 - 管理员界面</h1>
    <p>欢迎, 管理员!</p>
    <div class="logout-button-container">
        <button id="logoutButton">登出</button>
    </div>
</div>

<script>
    document.getElementById("logoutButton").addEventListener("click", function() {
        window.location.href = "index.jsp"; // 重定向到登录页面
    });
</script>
</body>
</html>
